package org.jeecg.modules.CheckTask.entity;


import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 排查任务明细表
 * @Author: jeecg-boot
 * @Date:   2023-02-21
 * @Version: V1.0
 */
@ApiModel(value="tt_check_task_detail对象", description="排查任务明细表")
@Data
@TableName("tt_check_task_detail")
public class CheckTaskDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**隐患项目编码*/
    @Excel(name = "隐患项目编码", width = 15)
    @ApiModelProperty(value = "隐患项目编码")
    private java.lang.String dangerProjectcode;
    /**隐患项目名称*/
    @Excel(name = "隐患项目名称", width = 15)
    @ApiModelProperty(value = "隐患项目名称")
    private java.lang.String dangerProjectname;
    /**问题类型*/
    @Excel(name = "问题类型", width = 15, dicCode = "CHECK_TYPE")
    @Dict(dicCode = "CHECK_TYPE")
    @ApiModelProperty(value = "问题类型")
    private java.lang.String issueType;
    /**风险等级*/
    @Excel(name = "风险等级", width = 15, dicCode = "DANGER_GRADE")
    @Dict(dicCode = "DANGER_GRADE")
    @ApiModelProperty(value = "风险等级")
    private java.lang.String dangerGrade;
    /**伤害程度*/
    @Excel(name = "伤害程度", width = 15, dicCode = "DAMAGE_DEGREE")
    @Dict(dicCode = "DAMAGE_DEGREE")
    @ApiModelProperty(value = "伤害程度")
    private java.lang.String damageDegree;
    /**安全标准*/
    @Excel(name = "安全标准", width = 15)
    @ApiModelProperty(value = "安全标准")
    private java.lang.String safeCriterion;
    /**排查工具/方法*/
    @Excel(name = "排查工具/方法", width = 15)
    @ApiModelProperty(value = "排查工具/方法")
    private java.lang.String checkTool;
    /**任务id*/
    @ApiModelProperty(value = "任务id")
    private java.lang.String taskId;
    /**执行结果*/
    @Excel(name = "执行结果", width = 15, dicCode = "handle_result")
    @ApiModelProperty(value = "执行结果")
    @Dict(dicCode = "handle_result")
    private java.lang.String handleResult;
    /**整改前图片*/
    @Excel(name = "整改前图片", width = 15)
    @ApiModelProperty(value = "整改前图片")
    private java.lang.String beforeImage;
    /**隐患位置*/
    @Excel(name = "隐患位置", width = 15)
    @ApiModelProperty(value = "隐患位置")
    private java.lang.String dangerSite;
    /**隐患描述*/
    @Excel(name = "隐患描述", width = 15)
    @ApiModelProperty(value = "隐患描述")
    private java.lang.String dangerDescribe;
    /**区域名称*/
    @Excel(name = "区域名称", width = 15, dictTable = "tt_region", dicText = "region_name", dicCode = "id")
    @ApiModelProperty(value = "区域名称")
    private java.lang.String regionName;
    /**整改后图片*/
    @Excel(name = "整改后图片", width = 15)
    @ApiModelProperty(value = "整改后图片")
    private java.lang.String afterImage;
    /**整改措施*/
    @Excel(name = "整改措施", width = 15)
    @ApiModelProperty(value = "整改措施")
    private java.lang.String rectifyMeasures;
    /**上报人员*/
    @Excel(name = "上报人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "上报人员")
    private java.lang.String reportPerson;
    /**上报日期*/
    @Excel(name = "上报日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上报日期")
    private java.util.Date reportDate;
    /**整改状态*/
    @Excel(name = "整改状态", width = 15, dicCode = "rectify_state")
    @ApiModelProperty(value = "整改状态")
    private java.lang.String rectiftState;
}
